package com.cans.base.service.api;


import com.cans.base.model.FileDetail;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @author cans
 * @date 2018/6/4
 * @description
 */
public interface IFileDetailService extends IBaseService<FileDetail,String>{

    /**
     * 保存文件到服务器
     */
    FileDetail saveFile(MultipartFile file) throws IOException;
}
